package session2.overridden;

public class TestAnimals {
	public TestAnimals() {
	}

	public static void main(String[] args) {
		// KQ goi: Animal.java: session2.overridden.Animal
		Animal a = new Animal();
		a.eat(a);

		// KQ: goi:
		// Animal.java: session2.overridden.Horse
		// 8.Horse.java: eat(Object o)
		Animal b = new Horse();
		b.eat(b);
	}
}